package pt.ua.miect.sd.simuladorpesca.entities;

public abstract class MapEntity {
	protected MapPosition position;
	protected String id;
	
	public MapEntity(String id)
	{
		this.id = id;
		
	}
	
	public String getId() {
		return id;
	}

	public MapPosition getMapPosition(){
		
		MapPosition tmp = position;
	
		return tmp;
	}

	public void setMapPosition(MapPosition position)  {
	
		this.position = position;
	
	}
		
}
